<!DOCTYPE html>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<meta name="description" content="<@spring.message "msg.general.desc" />" />
		<meta name="keywords" content="" />

		<meta http-equiv="X-UA-Compatible" content="IE=edge" />

		<title><@spring.message "msg.general.title" /> - <#if activeForm?? && activeForm == "addForm"><@spring.message "itemAddPage.content.title" /><#else><@spring.message "itemUpdatePage.content.title" /></#if></title>

		<link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/jNotify.jquery.css'/>" />
		<link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/style.css'/>" />
		<link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/navigation.css'/>">
        <link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/articles.css'/>">
        <link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/items.css'/>">
        <link rel="stylesheet" type="text/css" href="<@spring.url '/resources/styles/add-edit-item.css'/>">

		<script src="<@spring.url '/resources/scripts/jquery-1.9.1.min.js'/>" type="text/javascript"></script>
		<script src="<@spring.url '/resources/scripts/jNotify.jquery.min.js'/>" type="text/javascript"></script>
		<script src="<@spring.url '/resources/scripts/script.js'/>" type="text/javascript"></script>

        <script type="text/javascript">
			processAddEditForm("<@spring.url '/add-edit-validation'/>", "<@spring.url '/perform-add-edit'/>");
		</script>
	</head>
	<body>
		<#include "/common/header.ftl" />
		<#attempt>
		<#include "/modules/add-edit/content.ftl" />
		<#recover>
		</#attempt>
		<#include "/common/footer.ftl" />
	</body>
</html>